package com.eamois.service.manual.impl;

import java.util.Collection;

import com.eamois.dao.manual.EnsipBomDao;
import com.eamois.domain.manual.EnsipBom;
import com.eamois.domain.manual.EnsipStructure;
import com.eamois.pdmutil.pdmView.BomView;
import com.eamois.service.impl.BaseServiceImpl;
import com.eamois.service.manual.EnsipBomService;


public class EnsipBomServiceImpl extends BaseServiceImpl<EnsipBom, EnsipBomDao> implements EnsipBomService{

	@Override
	public Collection<BomView> findBomByOther(String bomName, String bomVar) {
		// TODO Auto-generated method stub
		return this.getDao().findBomByOther(bomName, bomVar);
	}

	@Override
	public Collection<BomView> findBomByBomNameAndBomVar(String bomName,
			String bomVar) {
		// TODO Auto-generated method stub
		return this.getDao().findBomByBomNameAndBomVar(bomName, bomVar);
	}

	@Override
	public Collection<BomView> findBomByOther(String bomName, String bomVar,
			String parentid) {
		// TODO Auto-generated method stub
		return this.getDao().findBomByOther(bomName, bomVar, parentid);
	}

	@Override
	public BomView findBomByOther2(String partId, String bomVar,
			String chinaName) {
		// TODO Auto-generated method stub
		return this.getDao().findBomByOther2(partId, bomVar, chinaName);
	}

	@Override
	public Collection<BomView> findBomByLevel(String seqnum,String bomVar,String bomName) {
		// TODO Auto-generated method stub
		return this.getDao().findBomByLevel(seqnum, bomVar, bomName);
	}

	@Override
	public Collection<EnsipBom> findBomByOther3(String partId, String partVar,
			String chinaName) {
		// TODO Auto-generated method stub
		return this.getDao().findBomByOther3(partId, partVar, chinaName);
	}

	@Override
	public BomView findBomByNameAndVar(String bomName, String bomVar) {
		// TODO Auto-generated method stub
		return this.getDao().findBomByNameAndVar(bomName, bomVar);
	}

	@Override
	public Collection<EnsipBom> findEnsipBomByEnsipStructure(
			EnsipStructure ensipStructure) {
		// TODO Auto-generated method stub
		return this.getDao().findEnsipBomByEnsipStructure(ensipStructure);
	}

	@Override
	public boolean saveEnsipBom(BomView bom) {
		// TODO Auto-generated method stub
		return this.getDao().saveEnsipBom(bom);
	}

	@Override
	public boolean deleteEnsipBom(String partId, String partVar) {
		// TODO Auto-generated method stub
		return this.getDao().deleteEnsipBom(partId, partVar);
	}

	@Override
	public BomView findABomByNameAndVar(String bomName, String bomVar) {
		// TODO Auto-generated method stub
		return this.getDao().findABomByNameAndVar(bomName, bomVar);
	}

	@Override
	public Collection<EnsipBom> findAllEnsipBom() {
		// TODO Auto-generated method stub
		return this.getDao().findAllEnsipBom();
	}

	@Override
	public Collection<EnsipBom> findEnsipBom(String partId, String partVar) {
		// TODO Auto-generated method stub
		return this.getDao().findEnsipBom(partId, partVar);
	}

	@Override
	public Collection<BomView> findEnsipBom() {
		// TODO Auto-generated method stub
		return this.getDao().findEnsipBom();
	}

}
